.CSS_START_publicationInfos {
    display: none;
}

.publicationInfo_container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    user-select: text;

    button {
        font-weight: 400;
        transition: 200ms linear;
    }

    svg {
        width: 14px;
        height: 14px;
    }

    .corner svg {
        width: 20px;
        height: 20px;
        top: -35px;
        right: -5px;
    }

    section {
        margin-bottom: 20px;

        .form_group svg {
            position: absolute;
            left: 10px;
            width: 16px;
            top: 8px;
        }
    }

    .button_primary {
        border: 1px solid var(--color-brand-primary);
        height: 25px;
        border-radius: 4px;
        padding: 4px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-brand-primary);
        color: var(--color-neutral-base);

        svg {
            fill: var(--color-neutral-base);
        }

        &:focus {
            outline: var(--color-brand-primary) solid 2px !important;
            outline-offset: 2px;
        }
    }

    .button_secondary, .button_transparency {
        border: 1px solid var(--color-brand-primary);
        height: 25px;
        border-radius: 4px;
        padding: 4px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-brand-secondary);
        color: var(--color-brand-primary);

        svg {
            fill: var(--color-brand-primary);
        }

        &:hover {
            background-color: var(--color-neutral-base);
            color: var(--color-brand-primary);
        }
    }
}

.publicationInfo_leftSide {
    // flex: 1;
    flex: 1;
    text-align: center;
    width: 100%;

    &_coverWrapper {
        position: relative;
        align-items: center;
        background-color: var(--color-gray-50);
        border: 1px solid var(--color-gray-300);
        border-radius: 6px;
        margin: auto;

        img {
            min-height: 250px;
            height: 100%;
            min-width: 167px;
        }

          .no_img_wrapper {
            aspect-ratio: 0.67;
            text-align: center;
            box-sizing: border-box;
            padding: 5%;
            border: 1px solid silver;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;

            & .no_img {
              border: 1px black solid;
              width: 100%;
              height: 100%;
              line-height: initial;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;

              & p {
                word-break: normal;
                overflow-wrap: anywhere;
                display: -webkit-inline-box;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-align: center;
                margin: 10px 5%;
                color: var(--color-text-primary);

                &:not(:first-child) {
                  font-size: 90%;
                }
              }
            }
        }
    }

    &_buttonsWrapper {
        width: 100%;
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        margin: 20px 0;

        > div {
            width: 100%;
        }

        button {
            flex: 1 0 25%;
            margin: 5px 0;
        }
    }
}

.publicationInfo {
    &_rightSide {
        padding: 0 20px;
        flex: 2;

        .book_title {
            font-size: 24px;
            overflow-wrap: anywhere;
        }

        h2 {
            font-style: italic;
            font-weight: 700;
        }

        .authors {
            font-size: 18px;
        }
    }

    &_heading h4 {
        position: relative;
        font-weight: 600;
        margin: 5px 0 10px;
    }

    &_description_bloc {
        position: relative;

        &_seeMore {
            color: var(--color-brand-primary);
            text-decoration: underline;
            display: flex;
            width: 100px;
            align-items: center;
            justify-content: center;

            svg {
                width: 20px;
                margin: auto;
            }
        }
    }

    &_moreInfo_content, &_lcpInfo_content {
        div {
            margin-bottom: 5px;

            strong {
                font-weight: 600;
            }
        }
    }
}

.tag_list {
    display: flex;
    align-items: baseline;
    gap: 10px;

    h4 {
        min-width: fit-content;
        margin-top: 0;
    }
}

.publicationInfo_tagContainer {
    form {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;

        button {
            width: fit-content;

            svg {
                fill: white;
            }
        }
    }
}

.publicationInfo_progressionContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;

    p {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    details {
        summary {
            color: var(--color-brand-primary);
            background-color: var(--color-brand-secondary);
            display: flex;
            align-items: center;
            gap: 10px;

            :hover {
                cursor: pointer;
            }

            svg {
                width: 12px;
                height: 12px;
                margin-left: 2px;
            }

            &:first-of-type {
                list-style-type: none;
            }
        }

        ul {
            list-style-type: none;

            li a  {
            color: var(--color-brand-primary);
            }
        }
    }
}

.accessibility_infos {
    line-height: 1.5;

    &_left {
        margin-block-start: 0;
        flex: 1;
        padding-left: 20px;
        list-style-type: "- ";
    }

    &_right {
        flex: 1;

        ul {
            list-style-type: none;
            margin-block-start: 0;
            padding-left: 0;
        }

        details {
           color: var(--color-text-primary);

           summary {
            color: var(--color-brand-primary);
            cursor: pointer;
           }
        }
    }
}

.CSS_END_publicationInfos {
    display: none;
}
